package com.diligreat.mapper;

import java.util.List;

import com.diligreat.domain.Langmodel;

public interface LangmodelMapper {

	/**
	 * 通过语言ID获得相对的模型
	 * @param lid
	 * @return
	 */
	public Langmodel getLangmodelById(long lid);

	public void add(Langmodel langmodel);

	public Langmodel get(long id);

	public void update(Langmodel langmodel);

	public void delete(long id);

	public List<Langmodel> listAll();
}
